package com.client.service.impl;

import com.Emplyment.dto.StudyPathDto;
import com.client.mapper.StudyPathMapper;
import com.client.service.StudyPathService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StudyPathServiceImpl implements StudyPathService {

    @Autowired
    private StudyPathMapper studyPathMapper;

    @Override
    public List<StudyPathDto> getJavaStadyPath(String subject) {
        List<StudyPathDto> studyPath = studyPathMapper.getStudyPath(subject);
        return studyPath;
    }
}
